<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/page" prefix="public"%>
<public:pageControl classPath="app.portalbs.tools.user.UserEdit"/>
<script>

	//文件上传
	function changeUserIcon_onclick(picBox,page){
		
		Yacon.upload("userImage", "user_image_upload_after",true);
		
	}
	
	//上传结束
	function user_image_upload_after(windows,page){
		
		var imgPath = windows.returnValue.decode();
		
		imgPath = Yacon.getRootPath() + imgPath;
		
		$(".layui-header .layui-nav-img").attr("src",imgPath);
		$("div[lily-id='PWUSERPICBOX'] img").attr("src",imgPath);
	}

</script>